package com.ffyc.cms.service;

import com.ffyc.cms.controller.WriterController;
import com.ffyc.cms.dao.WriterDao;
import com.ffyc.cms.model.Journalism;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WriterService {
    @Autowired
    WriterDao writerDao;

    public void savenews(Journalism journalism) {
        writerDao.savenews(journalism);
    }
}
